<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>登录</title>
    <link rel="stylesheet" type="text/css" th:href="@{css/bootstrap.min.css}" href="../static/css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" th:href="@{css/signin.css}" href="../static/css/signin.css"/>
    <style type="text/css">
        body {
            padding-top: 50px;
        }

        .starter-template {
            padding: 40px 15px;
            text-align: center;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="starter-template">
        <form class="form-signin" role="form" name="form" th:action="@{/login}" action="/login" method="post">
            <h3 style="color: #fff">欢迎登录</h3>
            <div class="form-group">
                <input type="text" class="form-control" name="username" placeholder="账号" style="margin-top: 15px;"/>
            </div>
            <div class="form-group">
                <input type="password" class="form-control" name="password" placeholder="密码" style="margin-top: 30px;"/>
            </div>
            <p th:if="${param.error}" class="bg-danger">有错误，请重试</p>
            <input type="submit" id="login" value="登录" class="btn btn-primary" style="width: 300px;height: 45px;margin-top: 30px;font-size: 24px"/>
        </form>
    </div>
</div>


</body>
</html>